import java.util.Scanner;


public class WriteTheNumber {

  public static void main(String[] args) {
    Scanner scanner = new Scanner(System.in);
    System.out.print(parseInt(sum(scanner.nextLine())));
  }

  private static int sum(String number) {
    int result = 0;
    for (int i = 0; i < number.length(); i++) {
      result += (number.charAt(i) - '0');
    }
    return result;
  }

  private static String parseInt(int number) {
    String digit = new Integer(number).toString();
    StringBuilder builder = new StringBuilder();

    for (int i = 0; i < digit.length() - 1; i++) {
      builder.append(mapDigit(digit.charAt(i)));
      builder.append(" ");
    }

    builder.append(mapDigit(digit.charAt(digit.length() - 1)));

    return builder.toString();
  }

  private static String mapDigit(char digit) {
    switch (digit) {
      case '1':
        return "yi";
      case '2':
        return "er";
      case '3':
        return "san";
      case '4':
        return "si";
      case '5':
        return "wu";
      case '6':
        return "liu";
      case '7':
        return "qi";
      case '8':
        return "ba";
      case '9':
        return "jiu";
      case '0':
        return "ling";
      default:
        return "";
    }
  }


}
